import { Table, Space} from 'antd';
import './costi.less';
import {Link} from 'react-router-dom';

function Costi(){
    const columns = [
        {
          title: '订单编号',
          dataIndex: 'name',
          key: 'name',
        },
        {
          title: '下单时间',
          dataIndex: 'age',
          key: 'age',
        },
        {
          title: '流水号',
          dataIndex: 'address',
          key: 'address',
        },
        {
          title: '用户',
          key: 'tags',
          render: (text, record) => (
            <Space size="middle">
              <a><Link>张晓</Link></a>
            </Space>
          ),
        },
        {
          title: '支付方式',
          key: 'action',
          dataIndex: 'action',
        },
      ];
 const data = [
        {
          key: '1',
          name: 'DD136875233122',
          age: '2018-11-08 19:22:09',
          address: '2333655414112323',
          action:'免支付'
        }
    ]
    return(
        <div className='zorderi'>
            <Table 
            pagination={false} 
            columns={columns} 
            dataSource={data} />
        </div>
    )
}
export default Orderi